package org.dg.dgimg.service;

import org.dg.dgimg.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author DG
 * @since 2024-06-25
 */
public interface IUserService extends IService<User> {
    User selectUserByMailAndPassword(String mail, String password);

    int insertUser(User user);

    int selectUserCountByMail(String mail);
}
